﻿
using Eqwww.Domain.Models.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Eqwww.Domain.Models.SystemManage
{
    public class DatabaseLogModel
    {
        public string Id { get; set; }
        [Display(Name = "日志时间")]
        public DateTime? CreateTime { get; set; }
        [Display(Name = "操作人")]
        public string OperatorId { get; set; }
        [Display(Name = "IP地址")]
        public string Ip { get; set; }

        public UserModel Operator { get; set; }
        [Display(Name = "操作时间")]
        public DateTime? OperateTime { get; set; }
        [Display(Name = "资源Id")]
        public string ObjectId { get; set; }
        [Display(Name = "资源类型")]
        public string ObjectType { get; set; }
        [Display(Name = "操作类型")]
        public DbLogOperationType? DbLogOperationType { get; set; }
        [Display(Name = "信息")]
        public string Information { get; set; }
        [Display(Name = "实体")]
        public string JsonData { get; set; }
    }
}
